<template>
  <div>
  
    <router-link to="/">首页</router-link>
    <div v-for="item in navData">
      <router-link :to="item.path">{{ item.title }}</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
// import Event from './views/event/index.vue'
// import Loading from './components/Loading.vue';
// import LoadingPlus from './components/LoadingPlus.vue';
// import Rev from './components/LoadingPlus.vue';
// import LoginVer from './components/LoadingPlus.vue';
// import Reverse from './components/LoadingPlus.vue';
// import Report from './components/LoadingPlus.vue';
//import Child from './views/event/components/Child.vue';
//import ToDo from './views/event/components/ToDo.vue';
// import router from './router/route'
import {navData} from '@/untils/nav'

export default {
  name: 'App',
  components: {
    // HelloWorld,
    // Event,
    // Loading,
    // LoadingPlus,
    // Rev,
    // LoginVer,
    // Reverse,
    // Report
    //Child,
    //ToDo,
    // router
},
setup(){
  return{
    navData
  }

}
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>